package com.buu.system.dao;

import com.buu.system.domain.UserRoleDO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserRoleDao {
	int save(UserRoleDO ur);

	int remove(Long id);

	int removeByUserId(Long id);

	int batchRemove(List<Long> list);

	List<Long> listRoleId(Long userId);
}
